﻿using System;
using Newtonsoft.Json;

namespace Pay.DTO {
	/// <summary>
	/// 促销查询
	/// </summary>
	[JsonObject(MemberSerialization.OptOut)]
	public class SaleQuery : PageQuery {
		public SaleQuery() { }
		/// <summary>
		/// 商户
		/// </summary>
		public long user_id { get; set; }
		/// <summary>
		/// 名称
		/// </summary>
		public string name { get; set; }
		/// <summary>
		/// 类型：1优惠券，2打折(发布供消息)
		/// </summary>
		public int type { get; set; }
		/// <summary>
		/// 状态，1开和关、2开、3关、4删除
		/// </summary>
		public int status { get; set; }
		/// <summary>
		/// 商户UI浏览
		/// </summary>
		[JsonIgnore]
		public bool no_cache { get; set; }
	}
}
